﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoMock
{
    internal class InstanceCreator<T>
    {
        public static T CreateInstance(object[] parameters)
        {
            T instance = (T)Activator.CreateInstance(typeof(T), parameters);

            return instance;
        }
    }
}
